package com.hf.eagle.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import com.hf.eagle.dao.SysModuleDao;
import com.hf.eagle.domain.SysModule;
import com.ebiz.ssi.dao.ibatis.EntityDaoSqlMapImpl;

/**
 * @author Xu,XiaoYuan
 * @version 2011-08-27 02:29
 */
@Service
public class SysModuleDaoImpl extends EntityDaoSqlMapImpl<SysModule> implements SysModuleDao {

	@SuppressWarnings("unchecked")
	public List<SysModule> selectSysModuleListForModpopedom(Map<String, Object> map) throws DataAccessException {
		return super.getSqlMapClientTemplate().queryForList("selectSysModuleListForModpopedom", map);
	}

	@SuppressWarnings("unchecked")
	public List<SysModule> selectSysModuleListForUser(SysModule t) throws DataAccessException {
		return super.getSqlMapClientTemplate().queryForList("selectSysModuleListForUser", t);
	}

}
